package com.slx.first_bad_version;

public class VersionControl {

    private boolean[] badVersion;

    public boolean isBadVersion(int version) {
        return badVersion[version - 1];
    }

    public boolean[] getBadVersion() {
        return badVersion;
    }

    public void setBadVersion(boolean[] badVersion) {
        this.badVersion = badVersion;
    }
}
